//
//  NEDConsoleDoraemonViewController.m
//  NEDBugConsole_Example
//
//  Created by 98du on 2021/12/15.
//  Copyright © 2021 林宁宁. All rights reserved.
//

#import "NEDConsoleDoraemonViewController.h"
#import "NEDConsoleMenuItem.h"
#import "NEDConsole.h"
#import <DoraemonKit/DoraemonHomeViewController.h>
#import <DoraemonKit/DoraemonManager.h>
#import "DoraemonManager+NEDConsole.h"
#import "DoraemonHomeCloseCell+NEDConsole.h"

@interface NEDConsoleDoraemonViewController ()

@end

@implementation NEDConsoleDoraemonViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.title = @"Doraemon Kit";
    self.view.backgroundColor = [UIColor whiteColor];
    
    [[DoraemonManager shareInstance]
      install];

    DoraemonHomeViewController * vc = [DoraemonHomeViewController new];
    [self addChildViewController:vc];
    [self.view addSubview:vc.view];
    vc.view.frame = self.view.bounds;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
